{if !empty($aBulletin)}
<table style="width: 100%;" cellspacing="0" cellpadding="5">
<tr class="border4">
    <th style="width: 75px; font-size: 8pt;" class="color">
        <img src="{$sStylePath}spacer.gif" class="sqr" style="vertical-align: middle;" alt="" height="7" width="7" />
        <span style="vertical-align: middle;">  <b>{language text="from"}</b> </span>
    </th>
    <th style="font-size: 8pt;" class="color">
        <img src="{$sStylePath}spacer.gif" class="sqr" style="vertical-align: middle;" alt="" height="7" width="7" />
        <span style="vertical-align: middle;">  <b>{language text="date_399"}</b> </span>
    </th>
    <th style="font-size: 8pt;" class="color">
        <img src="{$sStylePath}spacer.gif" class="sqr" style="vertical-align: middle;" alt="" height="7" width="7" />
        <span style="vertical-align: middle;">  <b>{language text="subject_458"}</b> </span>
    </th>
</tr>
{foreach from=$aBulletin item=aItem name=bulletin}
<tr class="{if $smarty.foreach.bulletin.iteration %2}border13{/if}">
    <td style="font-size: 8pt; text-align:center; vertical-align:top;" class="color">
        <span><a class="link_description" href="{url link=public.user name=$aItem.user}">{$aItem.user}</a></span>
        <div>
        <a class="link_description" href="{url link=public.user name=$aItem.user}">{Account::Avatar sUser=$aItem.user iSize=50 class="pic1" onmouseover="showInfo5('`$aItem.user`', '', '');this.className='pic2';" onmouseout="this.className='pic1';return nd();"}</a>
        </div>
    </td>
    <td style="font-size: 8pt; vertical-align:top;" class="color"><b>{$aItem.time|date_format:$sDateFormat}</b></td>
    <td style="font-size: 8pt; vertical-align:top;" class="memlink">
         <a class="link_description" href="{url link=public.account.bulletin view=$aItem.id}">{$aItem.title|clean}</a>
    </td>
</tr>
{/foreach}
</table>
<div style="padding:5px;text-align:right;">
<a class="link_action" href="{url link=public.account.bulletin.compose}">[ {language text="submit"} ]</a>
<a class="link_action" href="{url link=public.account.bulletin}">[ {language text="view_all"} ]</a>
</div>
{else}
<div style="padding-left:15px;">
    <div class="message_info">{language text="there_are_no_bulletins_ye"}</div>
</div>
{/if}